<!doctype HTML>
<html>
<meta charset="utf8">
<title>CSS Content Visibility: hidden-matchable does not paint</title>
<link rel="author" title="Vladimir Levin" href="mailto:vmpstr@chromium.org">
<link rel="help" href="https://github.com/WICG/display-locking">
<link rel="match" href="../container-ref.html">
<meta name="assert" content="content-visibility subtrees are not painted">

<style>
#container {
  content-visibility: hidden-matchable;
  width: 150px;
  height: 150px;
  background: lightblue;
}
#child {
  width: 50px;
  height: 50px;
  background: lightgreen;
}
</style>

<div id=container>
  Text.
  <div id=child></div>
  <span>inline child</span>
</div>
</html>
